package cn.bxshey.redis.constant;

/**
 * @作者：不想说话而已
 * @Date：2023/12/4 0:27
 */

/**
 * redis--key
 */
public class RedisConstant {

    public static final String BABY_SMILES = "baby-smiles:"; // redis 统一前缀
    public static final String CATCH = BABY_SMILES + "catch:"; // 验证码key
    public static final String PERMISSIONS = BABY_SMILES + "permissions:"; // 权限key
    public final static String LOGIN_TOKENS = BABY_SMILES + "login-token:";    //登录令牌
    public final static String CART = BABY_SMILES + "commodity-cart:";    //购物车
    public final static String COUPONS = BABY_SMILES + "coupons:";    //优惠卷
    public final static String COUPONS_USER = COUPONS + "user:";    //优惠卷持有人
    public final static String ACTIVITY = BABY_SMILES + "activity:";    //活动
    public final static String ACTIVITY_USER = BABY_SMILES + "activity-participate:";    //活动参与人
}
